package com.zx.map.dao;

import java.util.ArrayList;
import java.util.List;

import org.springframework.dao.DataAccessException;

import com.zx.map.dao.model.AgentLeft;
import com.zx.map.dao.model.AgentLeftExample;

public interface AgentLeftDao {

	/**
	 * 根据Model查找List
	 * @param example
	 * @return
	 * @throws DataAccessException
	 */
	public List<AgentLeft> getListByExample(AgentLeftExample example) throws DataAccessException;

	int deleteByByExample(AgentLeftExample example);

	int saveBatch(List<AgentLeft> agentInfoList);
}